/**
* Copyright(c) 2019 六六微科技 Co. Ltd.
* All right reserved.
/*
* 会员充值记录模块
* @author 小六子
* @date 2019年9月22日
*/
import axios from '../../axios'

// 保存
export const saveOrUpdate = (data) => {
    return axios({
        url: '/member/recharge/saveOrUpdate',
        method: 'post',
        data
    })
};
// 获取
export const get = (id) => {
    return axios({
        url: '/member/recharge/get',
        method: 'get',
        params:{
            id:id
        }
    })
};
// 删除
export const remove = (id) => {
    return axios({
        url: '/member/recharge/remove',
        method: 'get',
        params:{
            id: id
        }
    })
};
// 批量删除
export const batchRemove = (data) => {
    return axios({
        url: '/member/recharge/remove',
        method: 'post',
        data
    })
};
// 查询
export const query = (data) => {
    return axios({
        url: '/member/recharge/query',
        method: 'post',
        data
    })
}
